package com.yuexia.sell.from;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author itmrchen
 * @date 2018/7/13 0013 上午 10:58
 * @desc ctrate by YUE XIA
 */
@Data
public class OrderFrom {

    /*姓名
    * */
    @NotEmpty(message = "姓名不能为空")
    private String name;

    /*电话
     * */
    @NotEmpty(message = "电话不能为空")
    private String phone;

    /*地址
     * */
    @NotEmpty(message = "地址不能为空")
    private String address;

    /*
    微信openid
     * */
    @NotEmpty(message = "微信openid不能为空")
    private String openid;

    /*购物车
     * */
    @NotEmpty(message = "购物车不能为空")
    private String items;
}
